// 引入二次封装的axios
import { post, get } from '../utils/axios';


// 获取banner列表
export let getBanner = () => get( '/banner/list' );
// 获取商品列表
export let getList = () => get( '/shop/goods/list' );
// 获取商品详细
export let getDetail =  id  => get( '/shop/goods/detail', {id});